Skip to content

Compatibility with Restrict Markers#32

Closed
mrschick wants to merge 1 commit intoOCAP2:feature/cba_reworkfrom
bagigi-arma:feature/restrict-markers-compat
Closed

Compatibility with Restrict Markers#32
mrschick wants to merge 1 commit intoOCAP2:feature/cba_reworkfrom
bagigi-arma:feature/restrict-markers-compat

Conversation

@mrschick
Copy link
Contributor

@mrschick mrschick commented Jan 3, 2025

The mod Restrict Markers handles any received global marker and turns it into a local one on any client that is close enough to the creator. Internally it handles the markers of a dedicated server so that the server receives any created marker, but does not duplicate it if it is re-shared to others.

However, the re-sharing creates new local markers on clients, which are then recorded by OCAP events and sent to the server. This causes the server to record many duplicated markers, which harms playback performance.

My fix checks whether Restrict Markers is loaded and enabled on the server, and if so blocks any OCAP marker event on clients from being forwarded to the server.

@fank fank deleted the branch OCAP2:feature/cba_rework February 2, 2026 22:37
@fank fank closed this Feb 2, 2026
@mrschick
Copy link
Contributor Author

Where should I rebase these changes onto, now that the feature/cba_rework branch was apparently deleted without a merge?

@fank
Copy link
Member

fank commented Feb 10, 2026

@mrschick it is in the main branch, start from there

@mrschick
Copy link
Contributor Author

Ah, got it, I was missing the file paths I originally modified. Found them now.

@mrschick
Copy link
Contributor Author

But GitHub won't let me retarget the PR, despite having rebased the working branch, so I'll just create a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants